package com.yckj.day08;

/**
 * TODO
 *测试类
 * @author shengyuee
 * @version 1.0
 * 2025/7/25 14:43
 */
public class TeacherTest {
    public static void main(String[] args) {
        //Person person = new Person(); // 抽象类不可以使用new和构造方法创建对象
        Teacher teacher = new Teacher();
        teacher.work();
        teacher.eat();
    }
}
